package com.xie.wechat;


import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.content.res.Resources;

import java.util.ArrayList;

public class BaseApplication extends Application {

    private static Context context;

    @Override

    public void onCreate() {

        super.onCreate();

        context= getApplicationContext();



    }

    /*** 获取全局上下文*/
    public static Context getContext() {

        return context;

    }

}



